package com.zp.crm.dao.RoidDao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.zp.crm.entity.Roid.RoidEntity;

public interface RoidDao {

	List<RoidEntity> selectBykeyUserRoidList(@Param(value="u_r")List<Integer> userInt);

	RoidEntity selectBykeyCodeName(@Param("roidname")String roidname);

	List<RoidEntity> selectBykeyUserRoidListIdName(@Param(value="u_r")List<Integer> intlist);

	List<RoidEntity> selectBykeyUserRoidListNotIdName(@Param(value="u_r")List<Integer> intlist);

	int selectcount(@Param(value="name")String name);

	List<RoidEntity> select(@Param(value="page")int pageIndex,@Param(value="size") int size,@Param(value="name")String name);

	String RoidMenuList(@Param(value="id")int id);

	int edit(@Param(value="roid")String roid,@Param(value="id")int id);

	int delete(@Param(value="id")int id);

	int insert(RoidEntity entity);
	
	

}
